import './assets/main.css'

import { createApp } from 'vue'
import { createPinia } from 'pinia'

import { ElButton } from 'element-plus';

ElButton.props.size = {
    type: String,
    default: "small"
};

ElButton.props.autoInsertSpace = {
    type: Boolean,
    default: true
};

ElButton.handleClick = function () {
    console.log("click");
}

import globalMixin from './config/elementPlusConfig.js'; // 替换为实际的路径

import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'

import App from './App.vue'
import router from './router'

const app = createApp(App)

app.use(createPinia())
app.use(router)
app.use(ElementPlus)
app.mixin(globalMixin);

app.mount('#app')
